package com.yz.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yz.entity.UserEntity;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @className: UserService
 * @author: shuishu
 * @date: 2022/12/02 21:04
 */
@Service
public interface UserService extends IService<UserEntity> {
    void register(UserEntity userEntity) throws Exception;

    UserEntity byActivationCode(String activationCode);

    UserEntity login(String username, String password);

    void updateHeaderUrl(Integer id, String filePath);

    boolean changePassword(Map mapp, Integer id);
}
